import request from "../../utils/request";

const BASE_URL = "maimao_user/web/company";
export default {

    /**
     * 申请开通店铺
     * @returns {AxiosPromise}
     */
    checkEmail(email) {
        return request({
            url: `${BASE_URL}/checkEmail`,
            method: 'post',
            data:{
                email
            }
        })
    },
    register(company) {
        return request({
            url: `${BASE_URL}/register`,
            method: 'post',
            data:company
        })
    },

    /**
     * 查询当前企业的店铺状态
     * @returns {AxiosPromise}
     */
    queryShopStatus(){
        return request({
            url:`${BASE_URL}/shopStatus`,
            method:"get",
        })
    }



}

